import { createApp } from 'vue'
import App from './App.vue'
import './plugins/element.js'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import ElementUI from 'element-ui'
Vue.use(ElementUI)
// import axios from 'axios'

createApp(App).mount('#app')

// function get(){

//     axios
//       .get('https://api.coindesk.com/v1/bpi/currentprice.json')
//       .then(response => {
//           console.log('调用成功')
//         console.log(response.data.bpi)
//       })
//       .catch(error => {
//         console.log(error)
//         this.errored = true
//       })
//       .finally(console.log('操作失败'))

//     // console.log(info)
// }
// get()